import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from "./router/index.js";
import pina from "./store";
import elementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as echarts from 'echarts'
import moment from 'moment';
import 'moment/locale/zh-cn';

// 设置moment语言为中文
moment.locale('zh-cn');
const app = createApp(App)

app.config.globalProperties.$echarts = echarts

app.use(router).use(pina).use(elementPlus)

app.mount('#app')